//
//  GlobalVC.h
//  ApeExample
//
//  Created by Eton on 2017/7/27.
//  Copyright © 2017年 王-庭协. All rights reserved.
//

#import <Foundation/Foundation.h>
@class LaunchViewController;
@class AppTabBarController;

#define kGlobalVC [GlobalVC shared]

//App全局界面相关逻辑处理
@interface GlobalVC : NSObject
@property (nonatomic, strong) LaunchViewController * launchVC;
@property (nonatomic, strong) ApeViewController * homeVC;
@property (nonatomic, strong) AppTabBarController * tabBar;

+ (GlobalVC *)shared;

/**
 *  跳转首页
 */
- (void)setRootByHome:(BOOL)isAnimation;

/**
 *  跳转登录页
 */
- (void)setRootByLogin:(BOOL)isAnimation;

/**
 *  展示登录页
 */
- (void)gotoLogin:(BOOL)showAlert;

/**
 *  回到首页
 */
- (void)backHome;

@end
